package com.seecen.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * @TableName pet_order_detail
 */
//@TableName(value ="pet_order_detail")
@Data
public class OrderDetail implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId
    private Long id;

    private Long orderId;

    private Long productId;

    private Long userId;

    private String productName;

    private String productImage;

    private String spec;

    private BigDecimal unitPrice;

    private Integer quantity;

    private BigDecimal totalPrice;

    private Date createTime;

    private Integer version;

    private Integer isDeleted;
}
